package com.axend.aerosense.common.bean;

import com.axend.aerosense.base.impl.IBaseContentItem;
import com.google.gson.annotations.SerializedName;
import com.axend.aerosense.base.bean.BaseBean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
public class PersonSelectItemBean extends BaseBean implements IBaseContentItem {

    /**
     * id
     */
    private String emergencyUuid;
    /**
     * 紧急联系人名称
     */
    private String emergencyName;
    /**
     * 紧急联系人 手机号
     */
    private String emergencyPhone;
    /**
     * 紧急联系人 是否被选择
     */
    private boolean isSelecte = false;

    private String emergencyImg = "";

    @Override
    public String getContent() {
        return emergencyName;
    }

    @Override
    public boolean isSelected() {
        return isSelecte;
    }
}
